﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Process.Domain
{
    /// <summary>
    /// 生产工单 工序表
    /// </summary>
    public class ProductionProcessTable
    {
        /// <summary>
        /// 生产工单工序主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        [Key]
        public int ProductionProcessId {  get; set; }
        /// <summary>
        /// 工序(1是第一步工序、
        ///2是第二步工序、
        ///3是第三步工序、
        ///4是第四步工序)
        /// </summary>
        public int ProcessNumber { get; set; }
        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int ProductionOrdersId {  get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public int ProcessId { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
